﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Evaluate/Evaluate.master" AutoEventWireup="true"
    CodeFile="InspectView.aspx.cs" Inherits="Evaluate_InspectView" StylesheetTheme="Content" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:GridView ID="UserGrid" runat="server" DataKeyNames="ItemId" OnRowDataBound="UserGrid_RowDataBound"
        Width="100%" ShowHeader="False">
        <Columns>
            <asp:TemplateField>
                <ItemTemplate>
                    <table style="width: 100%;">
                        <tr>
                            <td style="width: 20px;">
                                <asp:Label ID="ID" runat="server" ForeColor="#666666"></asp:Label>
                            </td>
                            <td style="width: 68px;">
                                单位名称：
                            </td>
                            <td>
                                <asp:Label ID="DepartmentName" runat="server" Text='<%# GetDepartmentName(Eval("DepartmentID").ToString()) %>'></asp:Label>
                            </td>
                            <%--<td style="width: 68px;">
                                扣分项目：
                            </td>
                            <td style="width: 200px;">
                                <asp:Label ID="ItemName" runat="server" Text='<%# Eval("ItemName") %>'></asp:Label>
                            </td>--%>
                            <td style="width: 36px;">
                                扣分：
                            </td>
                            <td style="width: 60px;">
                                <asp:Label ID="ItemScore" runat="server" Text='<%# Eval("ItemScore") %>'></asp:Label>
                            </td>
                        </tr>
                    </table>
                    <table style="width: 100%;">
                        <tr>
                        <td >
                                扣分项目：
                                <asp:Label ID="ItemName" runat="server" Text='<%# Eval("ItemName") %>'></asp:Label>
                            </td>
                            <%--<td style="width: 200px;">
                                
                            </td>--%>
                        </tr>
                        <tr>
                            <td>
                                扣分原因：
                                <asp:Label ID="Description" runat="server" Text='<%# Eval("Description") %>'></asp:Label>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <HeaderStyle HorizontalAlign="Left" />
    </asp:GridView>
</asp:Content>
